package mobi.workflowengine.core;

public enum WorkflowStatus {
	Started(0), 
	InProgress(1), 
	Canceled(2), 
	Failed(3), 
	FailedWithException(4), 
	Stuck(5), 
	SuccessfulEnd(6), 
	//FailedToStart(7),
	FailedToStartAsATaskIsRunning(7),
	;

    private final int value;
    private WorkflowStatus(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
